package com.jun.mapper;

import com.jun.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DepartmentMapper {
    List<Department> queryDeptList();

    Department queryDeptById(Integer id);

    Integer addDept(Department dept);

    Integer updateDept(Department dept);

    Integer deleteDept(Integer id);
}
